import Vue from 'vue';

import ElementUI, { Pagination } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
Vue.component('Pagination', Pagination);

import MessageTips from './utils/message';

Vue.use(MessageTips);


// 图片上传组件
import ImageUpload from "@/components/ImageUpload";
import Editor from "@/components/Editor/editor";
import FileUpload from "@/components/FileUpload";

Vue.component('ImageUpload', ImageUpload);
Vue.component('Editor', Editor);
Vue.component('FileUpload', FileUpload);


import App from './App.vue';
import router from './router';
import store from './store';

import "./main.css";

Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');
